typedef PD3DXMATRIX (WINAPI *TD3DXMatrixPerspectiveFovLH)(
  _Inout_  D3DXMATRIX *pOut,
  _In_     FLOAT fovy,
  _In_     FLOAT Aspect,
  _In_     FLOAT zn,
  _In_     FLOAT zf
);

TD3DXMatrixPerspectiveFovLH OldD3DXMatrixPerspectiveFovLH;

DllExport PD3DXMATRIX cc D3DXMatrixPerspectiveFovLH(
  _Inout_  D3DXMATRIX *pOut,
  _In_     FLOAT fovy,
  _In_     FLOAT Aspect,
  _In_     FLOAT zn,
  _In_     FLOAT zf
)
{
	return OldD3DXMatrixPerspectiveFovLH(pOut, fovy, Aspect, zn, zf);
}